# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=psftools
pkgver=1.1.2
pkgrel=0
pkgdesc="tools to manipulate fixed-width bitmap fonts"
url="http://www.seasip.info/Unix/PSF/"
arch="all"
license="GPL-2.0-or-later"
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.seasip.info/Unix/PSF/psftools-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_guess
	update_config_sub
}

build() {
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
4623517f15aab7238251ad6c1ce2b7c25966b9ab23dc6643dafb77724230086ca99c9a0e7d575f67959e7b463c0c504cce5f2e80781ca89011a45bdecd4dab73  psftools-1.1.2.tar.gz
"
